﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Csharp结业设计
{
    public partial class teacher : Form
    {
        //全局变量
        string id = "";
        Teacher_box1 box1 = new Teacher_box1();
        Update updata = new Update();
           
        public teacher(string id)
        {
            InitializeComponent();
            this.id = id;
        }

        teacher_quary_repair_self sss = null;

        private void 查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            box1.Show();
        }

        private void 修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            updata.Show();
        }

        private void 退出ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void 信息查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            sss = new teacher_quary_repair_self(id);
            sss.Show();
        }
    }
}
